package com.ase.redislike.common.result;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author： yuhang
 * @Date： 2021/11/9
 * @Description：返回结果封装
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Response<T> {
    /**
     * 返回体
     */
    private int code;
    private T data;
    private String msg;
}
